package com.crm.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class FinanceGeneral extends BaseModel{
    private String generalId;

    private String payOrg;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
    private Date payDate;

    private String collectionDepartment;

    private Float money;

    private Byte payment;

    private String projectId;

    private String pCostclassId;

    private String costclassId;
    
    private Byte incomeType;

    private String incomeDetail;

    private String content;
    
    private Float reservationNum;
    
    private String deptName;
    
    private String projectName;
    
    private String pcostName;
    
    private String costName;
    
    private String beginTime;
    
    private String endTime;

    public String getGeneralId() {
        return generalId;
    }

    public void setGeneralId(String generalId) {
        this.generalId = generalId;
    }

    public String getPayOrg() {
        return payOrg;
    }

    public void setPayOrg(String payOrg) {
        this.payOrg = payOrg;
    }

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    public Date getPayDate() {
        return payDate;
    }

    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }

    public String getCollectionDepartment() {
        return collectionDepartment;
    }

    public void setCollectionDepartment(String collectionDepartment) {
        this.collectionDepartment = collectionDepartment;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public Byte getPayment() {
        return payment;
    }

    public void setPayment(Byte payment) {
        this.payment = payment;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getpCostclassId() {
        return pCostclassId;
    }

    public void setpCostclassId(String pCostclassId) {
        this.pCostclassId = pCostclassId;
    }

    public String getCostclassId() {
        return costclassId;
    }

    public void setCostclassId(String costclassId) {
        this.costclassId = costclassId;
    }

    public String getIncomeDetail() {
        return incomeDetail;
    }

    public void setIncomeDetail(String incomeDetail) {
        this.incomeDetail = incomeDetail;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

	public Byte getIncomeType() {
		return incomeType;
	}

	public void setIncomeType(Byte incomeType) {
		this.incomeType = incomeType;
	}

	public Float getReservationNum() {
		return reservationNum;
	}

	public void setReservationNum(Float reservationNum) {
		this.reservationNum = reservationNum;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getPcostName() {
		return pcostName;
	}

	public void setPcostName(String pcostName) {
		this.pcostName = pcostName;
	}

	public String getCostName() {
		return costName;
	}

	public void setCostName(String costName) {
		this.costName = costName;
	}

	public String getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
}